package licode.unisop.platform.client.event;

import licode.unisop.types.event.LogDomainEvent;

/**
 * 平台用户更新相关操作事件
 *
 * @author licode
 */
public class PlatformUserUpdatedEvent extends LogDomainEvent {
    private final String userId;

    public PlatformUserUpdatedEvent(String userId, String data) {
        super(PlatformUserUpdatedEvent.class.getTypeName(),
                data, "platformUser:update");
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }
}
